package com.bjpowernode.java.domain;

public class Triangle {
    private int side;

    public Triangle() {
    }

    public void setSide(int side) {
        this.side = side;
    }

    public double returnArea(){
        double area = Math.sqrt(3.0)/4*side*side;
        return area;
    }
}
